package com.ogawa.project2213n.bean;

public class Device2213NOffBean {

    /**
     * sn : OGA75172004080001
     * timestamp : 1590200105151
     * functions : {"powerOffLegPosY":{"functionName":"关机推杆腿部升降","functionCode":"powerOffLegPosY","itemName":"无","modelValue":"-1"},"powerOffLegPosX":{"functionName":"关机推杆腿部伸缩","functionCode":"powerOffLegPosX","itemName":"无","modelValue":"-1"},"powerOffZeroGravity":{"functionName":"关机零重力","functionCode":"powerOffZeroGravity","itemName":"无","modelValue":"-1"},"powerOffChildLock":{"functionName":"关机儿童锁","functionCode":"powerOffChildLock","itemName":"无触发信号","modelValue":"0"},"resetSucccessFlag":{"functionName":"关机复位完成标识","functionCode":"resetSucccessFlag","itemName":"复位完成","modelValue":"1"},"powerOffBackPos":{"functionName":"关机推杆背部升降","functionCode":"powerOffBackPos","itemName":"无","modelValue":"-1"},"powerOffPinch":{"functionName":"关机防夹触发","functionCode":"powerOffPinch","itemName":"","modelValue":"0"}}
     * messageId : 79e8338c-136e-410a-80bb-9bb66c73d495
     */

    private String sn;
    private long timestamp;
    private FunctionsBean functions;
    private String messageId;

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public FunctionsBean getFunctions() {
        return functions;
    }

    public void setFunctions(FunctionsBean functions) {
        this.functions = functions;
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public static class FunctionsBean {
        /**
         * powerOffLegPosY : {"functionName":"关机推杆腿部升降","functionCode":"powerOffLegPosY","itemName":"无","modelValue":"-1"}
         * powerOffLegPosX : {"functionName":"关机推杆腿部伸缩","functionCode":"powerOffLegPosX","itemName":"无","modelValue":"-1"}
         * powerOffZeroGravity : {"functionName":"关机零重力","functionCode":"powerOffZeroGravity","itemName":"无","modelValue":"-1"}
         * powerOffChildLock : {"functionName":"关机儿童锁","functionCode":"powerOffChildLock","itemName":"无触发信号","modelValue":"0"}
         * resetSucccessFlag : {"functionName":"关机复位完成标识","functionCode":"resetSucccessFlag","itemName":"复位完成","modelValue":"1"}
         * powerOffBackPos : {"functionName":"关机推杆背部升降","functionCode":"powerOffBackPos","itemName":"无","modelValue":"-1"}
         * powerOffPinch : {"functionName":"关机防夹触发","functionCode":"powerOffPinch","itemName":"","modelValue":"0"}
         */

        private PowerOffLegPosYBean powerOffLegPosY;
        private PowerOffLegPosXBean powerOffLegPosX;
        private PowerOffZeroGravityBean powerOffZeroGravity;
        private PowerOffChildLockBean powerOffChildLock;
        private ResetSucccessFlagBean resetSucccessFlag;
        private PowerOffBackPosBean powerOffBackPos;
        private PowerOffPinchBean powerOffPinch;

        public PowerOffLegPosYBean getPowerOffLegPosY() {
            return powerOffLegPosY;
        }

        public void setPowerOffLegPosY(PowerOffLegPosYBean powerOffLegPosY) {
            this.powerOffLegPosY = powerOffLegPosY;
        }

        public PowerOffLegPosXBean getPowerOffLegPosX() {
            return powerOffLegPosX;
        }

        public void setPowerOffLegPosX(PowerOffLegPosXBean powerOffLegPosX) {
            this.powerOffLegPosX = powerOffLegPosX;
        }

        public PowerOffZeroGravityBean getPowerOffZeroGravity() {
            return powerOffZeroGravity;
        }

        public void setPowerOffZeroGravity(PowerOffZeroGravityBean powerOffZeroGravity) {
            this.powerOffZeroGravity = powerOffZeroGravity;
        }

        public PowerOffChildLockBean getPowerOffChildLock() {
            return powerOffChildLock;
        }

        public void setPowerOffChildLock(PowerOffChildLockBean powerOffChildLock) {
            this.powerOffChildLock = powerOffChildLock;
        }

        public ResetSucccessFlagBean getResetSucccessFlag() {
            return resetSucccessFlag;
        }

        public void setResetSucccessFlag(ResetSucccessFlagBean resetSucccessFlag) {
            this.resetSucccessFlag = resetSucccessFlag;
        }

        public PowerOffBackPosBean getPowerOffBackPos() {
            return powerOffBackPos;
        }

        public void setPowerOffBackPos(PowerOffBackPosBean powerOffBackPos) {
            this.powerOffBackPos = powerOffBackPos;
        }

        public PowerOffPinchBean getPowerOffPinch() {
            return powerOffPinch;
        }

        public void setPowerOffPinch(PowerOffPinchBean powerOffPinch) {
            this.powerOffPinch = powerOffPinch;
        }

        public static class PowerOffLegPosYBean {
            /**
             * functionName : 关机推杆腿部升降
             * functionCode : powerOffLegPosY
             * itemName : 无
             * modelValue : -1
             */

            private String functionName;
            private String functionCode;
            private String itemName;
            private String modelValue;

            public String getFunctionName() {
                return functionName;
            }

            public void setFunctionName(String functionName) {
                this.functionName = functionName;
            }

            public String getFunctionCode() {
                return functionCode;
            }

            public void setFunctionCode(String functionCode) {
                this.functionCode = functionCode;
            }

            public String getItemName() {
                return itemName;
            }

            public void setItemName(String itemName) {
                this.itemName = itemName;
            }

            public String getModelValue() {
                return modelValue;
            }

            public void setModelValue(String modelValue) {
                this.modelValue = modelValue;
            }
        }

        public static class PowerOffLegPosXBean {
            /**
             * functionName : 关机推杆腿部伸缩
             * functionCode : powerOffLegPosX
             * itemName : 无
             * modelValue : -1
             */

            private String functionName;
            private String functionCode;
            private String itemName;
            private String modelValue;

            public String getFunctionName() {
                return functionName;
            }

            public void setFunctionName(String functionName) {
                this.functionName = functionName;
            }

            public String getFunctionCode() {
                return functionCode;
            }

            public void setFunctionCode(String functionCode) {
                this.functionCode = functionCode;
            }

            public String getItemName() {
                return itemName;
            }

            public void setItemName(String itemName) {
                this.itemName = itemName;
            }

            public String getModelValue() {
                return modelValue;
            }

            public void setModelValue(String modelValue) {
                this.modelValue = modelValue;
            }
        }

        public static class PowerOffZeroGravityBean {
            /**
             * functionName : 关机零重力
             * functionCode : powerOffZeroGravity
             * itemName : 无
             * modelValue : -1
             */

            private String functionName;
            private String functionCode;
            private String itemName;
            private String modelValue;

            public String getFunctionName() {
                return functionName;
            }

            public void setFunctionName(String functionName) {
                this.functionName = functionName;
            }

            public String getFunctionCode() {
                return functionCode;
            }

            public void setFunctionCode(String functionCode) {
                this.functionCode = functionCode;
            }

            public String getItemName() {
                return itemName;
            }

            public void setItemName(String itemName) {
                this.itemName = itemName;
            }

            public String getModelValue() {
                return modelValue;
            }

            public void setModelValue(String modelValue) {
                this.modelValue = modelValue;
            }
        }

        public static class PowerOffChildLockBean {
            /**
             * functionName : 关机儿童锁
             * functionCode : powerOffChildLock
             * itemName : 无触发信号
             * modelValue : 0
             */

            private String functionName;
            private String functionCode;
            private String itemName;
            private String modelValue;

            public String getFunctionName() {
                return functionName;
            }

            public void setFunctionName(String functionName) {
                this.functionName = functionName;
            }

            public String getFunctionCode() {
                return functionCode;
            }

            public void setFunctionCode(String functionCode) {
                this.functionCode = functionCode;
            }

            public String getItemName() {
                return itemName;
            }

            public void setItemName(String itemName) {
                this.itemName = itemName;
            }

            public String getModelValue() {
                return modelValue;
            }

            public void setModelValue(String modelValue) {
                this.modelValue = modelValue;
            }
        }

        public static class ResetSucccessFlagBean {
            /**
             * functionName : 关机复位完成标识
             * functionCode : resetSucccessFlag
             * itemName : 复位完成
             * modelValue : 1
             */

            private String functionName;
            private String functionCode;
            private String itemName;
            private String modelValue;

            public String getFunctionName() {
                return functionName;
            }

            public void setFunctionName(String functionName) {
                this.functionName = functionName;
            }

            public String getFunctionCode() {
                return functionCode;
            }

            public void setFunctionCode(String functionCode) {
                this.functionCode = functionCode;
            }

            public String getItemName() {
                return itemName;
            }

            public void setItemName(String itemName) {
                this.itemName = itemName;
            }

            public String getModelValue() {
                return modelValue;
            }

            public void setModelValue(String modelValue) {
                this.modelValue = modelValue;
            }
        }

        public static class PowerOffBackPosBean {
            /**
             * functionName : 关机推杆背部升降
             * functionCode : powerOffBackPos
             * itemName : 无
             * modelValue : -1
             */

            private String functionName;
            private String functionCode;
            private String itemName;
            private String modelValue;

            public String getFunctionName() {
                return functionName;
            }

            public void setFunctionName(String functionName) {
                this.functionName = functionName;
            }

            public String getFunctionCode() {
                return functionCode;
            }

            public void setFunctionCode(String functionCode) {
                this.functionCode = functionCode;
            }

            public String getItemName() {
                return itemName;
            }

            public void setItemName(String itemName) {
                this.itemName = itemName;
            }

            public String getModelValue() {
                return modelValue;
            }

            public void setModelValue(String modelValue) {
                this.modelValue = modelValue;
            }
        }

        public static class PowerOffPinchBean {
            /**
             * functionName : 关机防夹触发
             * functionCode : powerOffPinch
             * itemName :
             * modelValue : 0
             */

            private String functionName;
            private String functionCode;
            private String itemName;
            private String modelValue;

            public String getFunctionName() {
                return functionName;
            }

            public void setFunctionName(String functionName) {
                this.functionName = functionName;
            }

            public String getFunctionCode() {
                return functionCode;
            }

            public void setFunctionCode(String functionCode) {
                this.functionCode = functionCode;
            }

            public String getItemName() {
                return itemName;
            }

            public void setItemName(String itemName) {
                this.itemName = itemName;
            }

            public String getModelValue() {
                return modelValue;
            }

            public void setModelValue(String modelValue) {
                this.modelValue = modelValue;
            }
        }
    }
}
